package com.cheap.search;

import cn.easyes.starter.register.EsMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EsMapperScan("com.cheap.search.es.mapper") // 扫描easy-es的mapper接口
@EnableFeignClients
public class SearchServiceMain {
    public static void main(String[] args) {
        SpringApplication.run(SearchServiceMain.class);
    }
}